#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
    int i;
	char s[256+10];
	FILE *stream;
    static char cfg_file[] = "/data/telephony/diag_fs.cfg";

	stream=fopen(cfg_file,"r");


    i=fscanf(stream,"%[][- =a-zA-Z0-9_.~\\/#%%?+|{}()<>,:;*&^$@!`']\r\n",s);
    printf("s = %s\n", s);
    fclose(stream);

    return 0;
}
